package com.miwzn.boot.modules.sys.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.miwzn.boot.modules.sys.entity.po.SysUser;
import com.miwzn.comm.utils.validate.AddValidGroup;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: wzn
 * @Date: 2018-12-11 17:58:50
 * @Description: www.miwzn.com DTO
 */
public class SysUserDto extends SysUser {

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getId() {
        return super.getId();
    }

    @javax.validation.constraints.NotNull(message = "用户名不能为空",groups = {AddValidGroup.class})
    public java.lang.String getUsername() {
        return super.getUsername();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getPassword() {
        return null;
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getSalt() {
        return null;
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getSex() {
        return super.getSex();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getMobile() {
        return super.getMobile();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getEmail() {
        return super.getEmail();
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    //@javax.validation.constraints.NotBlank(message = "")
    public java.util.Date getBirthday() {
        return super.getBirthday();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getSource() {
        return super.getSource();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getType() {
        return super.getType();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getDeptId() {
        return super.getDeptId();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getLocked() {
        return super.getLocked();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getPicUrl() {
        return super.getPicUrl();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getCreateAt() {
        return super.getCreateAt();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.util.Date getCreateTime() {
        return super.getCreateTime();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getUpdateAt() {
        return super.getUpdateAt();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.util.Date getUpdateTime() {
        return super.getUpdateTime();
    }

    //@javax.validation.constraints.NotBlank(message = "")
    public java.lang.String getDelFlag() {
        return super.getDelFlag();
    }

}
